package ca.usherbrooke.domus.sipnmove2.controller.call;

import ca.usherbrooke.domus.sipnmove2.controller.ActionController;
import ca.usherbrooke.domus.sipnmove2.model.call.Call;

/**
 * Terminate the associated call
 */
public class TerminateCallActionController implements ActionController {

	/**
	 * Call to terminate
	 */
	private Call call;
	
	@Override
	public void doAction() {
		call.terminate();
	}

	/**
	 * @return the call
	 */
	public Call getCall() {
		return call;
	}

	/**
	 * @param call the call to set
	 */
	public void setCall(Call call) {
		this.call = call;
	}

}
